
default_user_preference = {
    'visual_theme': 'simple-dark',
    'quote_db': 'demo'
}

def new_user_preference():
    return UserPreference(
        default_user_preference['visual_theme'],
        default_user_preference['quote_db']
    )

class UserPreference:
    def __init__(self, visual_theme, quote_db):
        self.visual_theme = visual_theme
        self.quote_db = quote_db
